<div [ngClass]="{'pagination-container': scrollWindow===false}" infiniteScroll [scrollWindow]="scrollWindow" [infiniteScrollDistance]="infiniteScrollDistance"
    [infiniteScrollThrottle]="infiniteScrollThrottle" [infiniteScrollDisabled]="isLoadAll" (scrolled)="onScrollDown()">
    <div class="ng-for-list">
        <div *ngFor="let item of list;index as i" class="item animate-ng-for" [@ngForFlyInAnimation]="'in'">
            <ng-container *ngTemplateOutlet="inputTpl;context:{ $implicit: item, index: i } ">
            </ng-container>
        </div>
        <div *ngIf="isLoading" class="img-box">
            <img src="assets/images/loading-start.svg">
        </div>
        <div class="loaded-end" *ngIf="isLoadAll && list.length>0"><div class="line"></div><span class="loaded-end-text" i18n="@@l1">已经到底了</span><div class="line"></div></div>
        <div class="empty-data" *ngIf="isLoadAll && list.length===0">
            <div *ngIf="emptyDataTpl==null;else emptyDataTpl"><div class="line"></div><span i18n="@@l2">没有数据</span><div class="line"></div></div>
        </div>
    </div>
</div>
